<!DOCTYPE html>
<html>
<head><meta name="generator" content="Hexo 3.9.0">
  <meta charset="utf-8">
  
  <title>程序猜想</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="成长就是不断骂过去的自己傻逼,一路认可过去的自己过去的选择">
<meta property="og:type" content="website">
<meta property="og:title" content="程序猜想">
<meta property="og:url" content="https://blog.520wa.com/page/4/index.html">
<meta property="og:site_name" content="程序猜想">
<meta property="og:description" content="成长就是不断骂过去的自己傻逼,一路认可过去的自己过去的选择">
<meta property="og:locale" content="zh-Hans">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="程序猜想">
<meta name="twitter:description" content="成长就是不断骂过去的自己傻逼,一路认可过去的自己过去的选择">
  
  
    <link rel="icon" href="/css/images/qrcode4assert1024.jpg">
  
  <link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="/css/style.css">
  

  <script>
  var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?e666d013b82854116bc37c32dd2f43e3";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
(function(){
    var bp = document.createElement('script');
    var curProtocol = window.location.protocol.split(':')[0];
    if (curProtocol === 'https') {
        bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
    }
    else {
        bp.src = 'http://push.zhanzhang.baidu.com/push.js';
    }
    var s = document.getElementsByTagName("script")[0];
    s.parentNode.insertBefore(bp, s);
})();
  </script>
</head>
</html>
<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">程序猜想</a>
      </h1>
      
        <h2 id="subtitle-wrap">
          <a href="/" id="subtitle">写Java EE的Android程序员</a>
        </h2>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
          <a class="main-nav-link" href="/about">About</a>
        
      </nav>
      <nav id="sub-nav">
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="https://blog.520wa.com"></form>
      </div>
    </div>
  </div>
</header>
      <div class="outer">
        <section id="main">
  
    <article id="post-push-update-info-2-stargazers-by-github" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/12/01/push-update-info-2-stargazers-by-github/" class="article-date">
  <time datetime="2017-12-01T02:19:47.000Z" itemprop="datePublished">2017-12-01</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/其它/">其它</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/12/01/push-update-info-2-stargazers-by-github/">如何主动PUSH SDK更新给开发者</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>之前苹果禁用jspatch时，涉及到的SDK全部需要更新。此时开发者得全面排查所使用SDK是否需要更新。怎么查？一个一个去SDK官网查看是否有更新解决方案。啰嗦，实现上就是想维护Github上面可怜的Star，所以想利用Github的开放api更新了SDK给他们发个邮件  </p>
<p>1、查询Star的api<br>文档：<a href="https://developer.github.com/v3/activity/starring/" target="_blank" rel="noopener">https://developer.github.com/v3/activity/starring/</a><br>调用：<a href="https://api.github.com/repos/2tu/fit/stargazers" target="_blank" rel="noopener">https://api.github.com/repos/2tu/fit/stargazers</a><br>发现只有user，没有其邮箱  </p>
<p>2、查询用户信息<br>文档：<a href="https://developer.github.com/v3/users/" target="_blank" rel="noopener">https://developer.github.com/v3/users/</a><br>调用：<a href="https://api.github.com/users/2tu" target="_blank" rel="noopener">https://api.github.com/users/2tu</a><br>发现并没有想要的email，提示如下：<br>Note: The returned email is the user’s publicly visible email address (or null if the user has not specified a public email address in their profile). The publicly visible email address only displays for authenticated API users.<br>只能显示用户自己的email，虽然可以通过爬虫直接爬取，但是不正当，该想法搁置</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2017/12/01/push-update-info-2-stargazers-by-github/" data-id="ckcqflawg000yeodetvfk2yo4" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SDK/">SDK</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SDK更新给开发者/">SDK更新给开发者</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/fit/">fit</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/github-api/">github api</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/主动push/">主动push</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/如何主动PUSH/">如何主动PUSH</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-how-to-compress-image" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/06/06/how-to-compress-image/" class="article-date">
  <time datetime="2017-06-06T09:17:36.000Z" itemprop="datePublished">2017-06-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/06/06/how-to-compress-image/">一个万能算法压缩所有图片？</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>图片越来越多，相素越来越高，导致越来越大的图片必然绕不开压缩。<br>作为基础功能的图片压缩，本身问题却很多。如：  </p>
<ul>
<li>android压缩下来比iOS大，质量却低  </li>
<li>h5压缩图片导致崩溃  </li>
<li>微信号每天上传图片限制10w张  </li>
<li>压缩后图片变形、不清晰<br>各路大神提供了诸多解决方案，<br>解决质量速度问题的<a href="https://github.com/libjpeg-turbo/libjpeg-turbo" target="_blank" rel="noopener">libjpeg-turbo</a>，android7.0之后也采用该库；<br>解决裁剪问题的<a href="https://github.com/Yalantis/uCrop" target="_blank" rel="noopener">uCrop</a>；<br>压缩策略<a href="https://github.com/Curzibn/Luban" target="_blank" rel="noopener">Luban</a>；<br>压缩质量、裁剪技术方案都是无需质疑选型使用就好。那么压缩策略呢？<br><strong>Luban（鲁班） —— Android图片压缩工具，仿微信朋友圈压缩策略。</strong>Luban可能是最接近微信朋友圈的图片压缩算法，有微信强大的用户量背书，我们是否可以在项目中直接使用该策略呢？<br>答案是NO<br>压缩策略其实与业务需求关系非常紧密。比如聊天时、展示文章等这个算法都特别合适，一般情况下该算法压缩出来的图片不大且可以被用户清晰辨识，如果看不清楚，可以点击下载查看原图。但是如果是拍证件，如身份证、银行卡这种就不需要。<br>废话太多，写不下去了。<font color="red"><strong>总之，没有万能算法，要做的是分析自己的业务应用场景。</strong></font></li>
</ul>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2017/06/06/how-to-compress-image/" data-id="ckcqflawb000seodeof9s6vk9" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Arithmetic/">Arithmetic</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/How-compress/">How compress</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Huffman/">Huffman</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/TingPNG/">TingPNG</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/jpeg/">jpeg</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/libjpeg/">libjpeg</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/libjpeg-turbo/">libjpeg-turbo</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-gradle-dependencies" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/05/11/gradle-dependencies/" class="article-date">
  <time datetime="2017-05-11T09:47:32.000Z" itemprop="datePublished">2017-05-11</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/其它/">其它</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/05/11/gradle-dependencies/">gradle查看解决依赖问题-记录Butterknife8.5.1</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>相信每个人都遇到过重复引用库、冲突的问题。如support-v4、appcompat-v7、NineOldAndroids很容易被多次引用。<br>前同事在临上线前打包遇到merg出错<br><img src="/css/images/20170512_duplicate.jpeg" alt="TransformException"><br>How fix?<br>
        
          <p class="article-more-link">
            <a href="/2017/05/11/gradle-dependencies/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2017/05/11/gradle-dependencies/" data-id="ckcqflaw9000qeode2itohve5" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Butterknife/">Butterknife</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Gradle/">Gradle</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/TransformException/">TransformException</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/dependencies/">dependencies</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/duplicate-entry/">duplicate entry</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/transformClassesWithJarMerging/">transformClassesWithJarMerging</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-get-correct-ip-address" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/04/06/get-correct-ip-address/" class="article-date">
  <time datetime="2017-04-06T12:06:52.000Z" itemprop="datePublished">2017-04-06</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/04/06/get-correct-ip-address/">Android正确获取IP及MAC</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>每个产品都会统计用户终端信息。稍不注意就会经我们的手造成公司得到的数据错误，造成分析甚至战略错误。（假装是程序猿缔造了世界）  </p>
<p>设备：Oppo R9s、vivo X9<br>系统：Android 6.0.2<br>网络：4G<br>错误IP和MAC分别为  </p>
<font color="red"><br>fe80::188c:24ff:fe49:8e54%dummy0<br>02:00:00:00:00:00<br></font>

<p>错误代码：<br><figure class="highlight haxe"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">String</span> getLocalIpAddress() &#123;</span><br><span class="line">  <span class="keyword">try</span> &#123;</span><br><span class="line">    <span class="keyword">for</span> (</span><br><span class="line">        Enumeration&lt;NetworkInterface&gt; networkInterfaces = NetworkInterface.getNetworkInterfaces();</span><br><span class="line">        networkInterfaces.hasMoreElements(); ) &#123;</span><br><span class="line">      NetworkInterface networkInterface = networkInterfaces.nextElement();</span><br><span class="line">      <span class="keyword">for</span> (Enumeration&lt;InetAddress&gt; inetAddresses = networkInterface.getInetAddresses();</span><br><span class="line">          inetAddresses.hasMoreElements(); ) &#123;</span><br><span class="line">        InetAddress inetAddress = inetAddresses.nextElement();</span><br><span class="line">        <span class="keyword">if</span> (!inetAddress.isLoopbackAddress()) &#123;</span><br><span class="line">          <span class="keyword">String</span> ipAddress = inetAddress.getHostAddress().toUpperCase();</span><br><span class="line">          <span class="keyword">return</span> ipAddress;</span><br><span class="line">        &#125;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">  &#125; <span class="keyword">catch</span> (SocketException e) &#123;</span><br><span class="line">  &#125;</span><br><span class="line">  <span class="keyword">return</span> <span class="literal">null</span>;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure></p>
<p>然后根据搜索结果认为，直接将“%dummy0%2”去掉结果即为ipv6地址。不管你信不信反正当时我是信了，后来脑海里有一个声音时不时告诉我这不对，世界不是这样的。（程序猿后遗症）<br>
        
          <p class="article-more-link">
            <a href="/2017/04/06/get-correct-ip-address/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2017/04/06/get-correct-ip-address/" data-id="ckcqflaw7000peodebof08vh8" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/02-00-00-00-00-00/">02:00:00:00:00:00</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NetworkInterface/">NetworkInterface</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WifiInfo/">WifiInfo</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/dummy0/">dummy0</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ipv4/">ipv4</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/ipv6/">ipv6</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/mac/">mac</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/wlan0/">wlan0</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-use-RestTemplate-in-Spring" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2017/03/13/use-RestTemplate-in-Spring/" class="article-date">
  <time datetime="2017-03-13T07:48:08.000Z" itemprop="datePublished">2017-03-13</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Java/">Java</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2017/03/13/use-RestTemplate-in-Spring/">use RestTemplate in Spring</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>Spring中提供RestTemplate方便访问Web服务，不再需要使用HttpClient、HttpComponents等</p>
<h3 id="差异"><a href="#差异" class="headerlink" title="差异"></a>差异</h3><p>使用方式详细见<a href="http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html" target="_blank" rel="noopener">api</a>，唯一注意区别参数uriVariables，遵循RESTful风格为uri变量，如：<a href="https://api.github.com/users/2tu" target="_blank" rel="noopener">https://api.github.com/users/2tu</a><br>可以写成</p>
<pre><code class="java">restTemplate.getForObject(<span class="string">"https://api.github.com/users/{userName}"</span>, String.class, <span class="string">"2tu"</span>);  
Map&lt;String, String&gt; uriVariables = Collections.singletonMap(<span class="string">"userName"</span>, <span class="string">"2tu"</span>); 
restTemplate.getForObject(<span class="string">"https://api.github.com/users/{userName}"</span>, String.class, uriVariables);
</code></pre>
<font color="red">注：SpringBoot默认采用jackson</font>

<p>参考：<br><a href="https://spring.io/guides/gs/consuming-rest/" target="_blank" rel="noopener">Consuming a RESTful Web Service</a><br><a href="http://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/client/RestTemplate.html" target="_blank" rel="noopener">RestTemplate API</a></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2017/03/13/use-RestTemplate-in-Spring/" data-id="ckcqflawm0014eode8gwbkve9" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/HttpClient/">HttpClient</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/RestTemplate/">RestTemplate</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Spring/">Spring</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-android-data-store" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2016/05/14/android-data-store/" class="article-date">
  <time datetime="2016-05-14T13:17:48.000Z" itemprop="datePublished">2016-05-14</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/05/14/android-data-store/">android数据共享，Application\Singleton存储数据出错的问题</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>两天终于完成了某模块的数据共享问题的改造。此次问题就是传说中万恶的Application及Sigleton存数据的问题。<br>曾经有大拿老张疑惑说Android怎么可能没有一个安全的临时存储数据的地方。接下来我们看一下在本次应用中实际发生的问题。并查看解决<a href="http://gold.xitu.io/app" target="_blank" rel="noopener">知名app掘金v3.1.1</a>出现的这个问题<br>采用官方提供api机制来解决问题。</p>
<h5 id="一、问题"><a href="#一、问题" class="headerlink" title="一、问题"></a>一、问题</h5><p>应用切换到后台返回程序Crash或数据丢失。甚至在小内存手机中调用系统相机再回来应用就已经重启了</p>
<h5 id="二、解决办法"><a href="#二、解决办法" class="headerlink" title="二、解决办法"></a>二、解决办法</h5><p>采用Intent及setArgments的方式来传值，采用onSaveInstanceState保存数据以供恢复。</p>
<h6 id="Activity中Fragment恢复"><a href="#Activity中Fragment恢复" class="headerlink" title="Activity中Fragment恢复"></a>Activity中Fragment恢复</h6>
        
          <p class="article-more-link">
            <a href="/2016/05/14/android-data-store/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2016/05/14/android-data-store/" data-id="ckcqflavl0009eodet7v2bivp" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NullPointException/">NullPointException</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/applicaton/">applicaton</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/crash/">crash</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/storage/">storage</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-welcomeJNI" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2016/03/24/welcomeJNI/" class="article-date">
  <time datetime="2016-03-24T14:09:37.000Z" itemprop="datePublished">2016-03-24</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/03/24/welcomeJNI/">使用AndroidStudio开发JNI并开启Native Debugger</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>不使用eclipse开发JNI，使用谷歌亲儿子AndroidStudio，并开启Native Debugger  </p>
<h3 id="一、创建JNI工程"><a href="#一、创建JNI工程" class="headerlink" title="一、创建JNI工程"></a>一、创建JNI工程</h3><h4 id="1、android-useDeprecatedNdk-true"><a href="#1、android-useDeprecatedNdk-true" class="headerlink" title="1、android.useDeprecatedNdk=true"></a>1、android.useDeprecatedNdk=true</h4><p>在gradle.properties中添加“android.useDeprecatedNdk=true”，否则会报<br>”Error: NDK integration is deprecated in the current plugin.  Consider trying the new experimental plugin.“  </p>
<h4 id="2、创建CLog类"><a href="#2、创建CLog类" class="headerlink" title="2、创建CLog类"></a>2、创建CLog类</h4><p>添加native方法<br><code>public static native void i();</code>  </p>
<h4 id="3、采用javah使用生成头文件"><a href="#3、采用javah使用生成头文件" class="headerlink" title="3、采用javah使用生成头文件"></a>3、采用javah使用生成头文件</h4><p>创建JNI目录</p>
        
          <p class="article-more-link">
            <a href="/2016/03/24/welcomeJNI/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2016/03/24/welcomeJNI/" data-id="ckcqflawq0019eodez23uivwt" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/AndroidStudio/">AndroidStudio</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/C/">C++</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Debugger/">Debugger</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JNI/">JNI</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Native/">Native</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-tvApplication" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2016/02/29/tvApplication/" class="article-date">
  <time datetime="2016-02-29T09:00:12.000Z" itemprop="datePublished">2016-02-29</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/Android/">Android</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/02/29/tvApplication/">TV Apps Checklist</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <p>最近开发一款定制运行于Letv的 TV应用（流云TV），主要用于数据报表展示及小部份交互。本文主要参考于电视猫、VST两款应用，适配小米电视及乐视。</p>
<h4 id="SDK版本及分辨率"><a href="#SDK版本及分辨率" class="headerlink" title="SDK版本及分辨率"></a>SDK版本及分辨率</h4><p>国内目前的电视都是从4.x的Phone SDK修改，所以我们的适配如下表</p>
<table>
<thead>
<tr>
<th>应用</th>
<th style="text-align:center">minSdkVersion</th>
<th style="text-align:center">targetVersion</th>
<th style="text-align:center">分辨率</th>
</tr>
</thead>
<tbody>
<tr>
<td>电视猫</td>
<td style="text-align:center">8</td>
<td style="text-align:center">16</td>
<td style="text-align:center">1280*720</td>
</tr>
<tr>
<td>VST</td>
<td style="text-align:center">15</td>
<td style="text-align:center">19</td>
<td style="text-align:center">1920*1080</td>
</tr>
<tr>
<td><font color="red">流云TV</font></td>
<td style="text-align:center"><font color="red">14</font></td>
<td style="text-align:center"><font color="red">19</font></td>
<td style="text-align:center"><font color="red">1920*1080</font>(xxhdpi)</td>
</tr>
</tbody>
</table>
        
          <p class="article-more-link">
            <a href="/2016/02/29/tvApplication/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2016/02/29/tvApplication/" data-id="ckcqflawl0013eode24r30ojq" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Android-TV/">Android TV</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-o2oAddress" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2016/01/27/o2oAddress/" class="article-date">
  <time datetime="2016-01-27T08:19:25.000Z" itemprop="datePublished">2016-01-27</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/其它/">其它</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2016/01/27/o2oAddress/">O2O收货地址管理——做一个有节操的码畜</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h4><p>O2O的收货地址与传统电商不同，前者自动带入地区属性，所以不需要传统B2C一样选择省市区、填写详细地址及邮编。应显示<strong>标志性位置</strong>如“新干线大厦”，不是“重庆市渝中区村55号”，也不是“重庆市渝中区两路口新干线大厦“。  </p>
<p>做产品时，通常会饱受各方质疑。这个功能不应该这样，那个功能应该那样，客户说、用户说、老板说、测试说、程序说。每个人说的都不一样，每个人都有道理。产品说好，那我改，我兼容，这样的产品永远不可能获得认可。每个人的出发点，使用场景不同，当然所要的就不同。我们所需要找的是产品的使用场景、切入点，找准这两个问题其它的一切问题自然不复存在。   </p>
<p>用户端中两个地方显示地址  </p>
        
          <p class="article-more-link">
            <a href="/2016/01/27/o2oAddress/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2016/01/27/o2oAddress/" data-id="ckcqflawe000veode3lkd4owr" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/用户体验/">用户体验</a></li></ul>

    </footer>
  </div>
  
</article>


  
    <article id="post-JenkinsContinuousImprovement" class="article article-type-post" itemscope itemprop="blogPost">
  <div class="article-meta">
    <a href="/2015/12/23/JenkinsContinuousImprovement/" class="article-date">
  <time datetime="2015-12-23T08:22:00.000Z" itemprop="datePublished">2015-12-23</time>
</a>
    
  <div class="article-category">
    <a class="article-category-link" href="/categories/其它/">其它</a>
  </div>

  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="article-title" href="/2015/12/23/JenkinsContinuousImprovement/">Jenkins构建Android、IOS并上传到蒲公英</a>
    </h1>
  

      </header>
    
    <div class="article-entry" itemprop="articleBody">
      
        <h4 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h4><p>作为产品级的外包，常常会出现fix一个bug要更新十几甚至几十个产品（打包上传）。作为程序猿看到这种需求时，第一想法就是“是时候找办法偷懒了”。<br>虽然Android以前采用Ant打包构建，现在与时俱进采用Gradle打包所有产品，然后再上传。<br>IOS也可以采用命令行的方式做到。<br>但是为了实现傻瓜式，可视化，同时兼容Android、IOS的方式，采用Jenkins实现很有必要。  </p>
<h4 id="实现步骤"><a href="#实现步骤" class="headerlink" title="实现步骤"></a>实现步骤</h4><p>1、下载安装Jenkins<br>2、配置Jenkins安装插件<br>3、创建Job实现构建<br>4、上传至蒲公英<br>
        
          <p class="article-more-link">
            <a href="/2015/12/23/JenkinsContinuousImprovement/#more">Read More</a>
          </p>
        
      
    </div>
    <footer class="article-footer">
      <a data-url="https://blog.520wa.com/2015/12/23/JenkinsContinuousImprovement/" data-id="ckcqflavd0003eode2tfem951" class="article-share-link">Share</a>
      
      
  <ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Jenkins/">Jenkins</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/iOS/">iOS</a></li></ul>

    </footer>
  </div>
  
</article>


  
  
    <nav id="page-nav">
      <a class="extend prev" rel="prev" href="/page/3/">&laquo; Prev</a><a class="page-number" href="/">1</a><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="page-number current">4</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/5/">Next &raquo;</a>
    </nav>
  
</section>
        
          <aside id="sidebar">
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Categories</h3>
    <div class="widget">
      <ul class="category-list"><li class="category-list-item"><a class="category-list-link" href="/categories/Android/">Android</a><span class="category-list-count">15</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/C/">C++</a><span class="category-list-count">4</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Java/">Java</a><span class="category-list-count">6</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/NDK-Samples/">NDK Samples</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/Web/">Web</a><span class="category-list-count">1</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/其它/">其它</a><span class="category-list-count">13</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/前端/">前端</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/数据/">数据</a><span class="category-list-count">2</span></li><li class="category-list-item"><a class="category-list-link" href="/categories/统计学/">统计学</a><span class="category-list-count">2</span></li></ul>
    </div>
  </div>

  
    
  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/02-00-00-00-00-00/" style="font-size: 10px;">02:00:00:00:00:00</a> <a href="/tags/301/" style="font-size: 10px;">301</a> <a href="/tags/302/" style="font-size: 10px;">302</a> <a href="/tags/APKParser/" style="font-size: 10px;">APKParser</a> <a href="/tags/AXMLPrinter2/" style="font-size: 10px;">AXMLPrinter2</a> <a href="/tags/Activity/" style="font-size: 10px;">Activity</a> <a href="/tags/Android-TV/" style="font-size: 10px;">Android TV</a> <a href="/tags/AndroidStudio/" style="font-size: 10px;">AndroidStudio</a> <a href="/tags/Arithmetic/" style="font-size: 10px;">Arithmetic</a> <a href="/tags/AutoService/" style="font-size: 10px;">AutoService</a> <a href="/tags/Bean/" style="font-size: 10px;">Bean</a> <a href="/tags/Butterknife/" style="font-size: 10px;">Butterknife</a> <a href="/tags/C/" style="font-size: 10px;">C++</a> <a href="/tags/Content-Type/" style="font-size: 10px;">Content-Type</a> <a href="/tags/DataBinding/" style="font-size: 10px;">DataBinding</a> <a href="/tags/DateFormat/" style="font-size: 10px;">DateFormat</a> <a href="/tags/Debugger/" style="font-size: 10px;">Debugger</a> <a href="/tags/DownloadManager/" style="font-size: 10px;">DownloadManager</a> <a href="/tags/Excel/" style="font-size: 10px;">Excel</a> <a href="/tags/FeignClient/" style="font-size: 10px;">FeignClient</a> <a href="/tags/FormEncoder/" style="font-size: 10px;">FormEncoder</a> <a href="/tags/Gradle/" style="font-size: 20px;">Gradle</a> <a href="/tags/Gson-serialization-deserialization-enum/" style="font-size: 10px;">Gson serialization/deserialization enum</a> <a href="/tags/Gson反序列化枚举/" style="font-size: 10px;">Gson反序列化枚举</a> <a href="/tags/Gson序列化枚举/" style="font-size: 10px;">Gson序列化枚举</a> <a href="/tags/How-compress/" style="font-size: 10px;">How compress</a> <a href="/tags/Http-Status-Code/" style="font-size: 10px;">Http Status Code</a> <a href="/tags/HttpClient/" style="font-size: 10px;">HttpClient</a> <a href="/tags/Huffman/" style="font-size: 10px;">Huffman</a> <a href="/tags/JNI/" style="font-size: 10px;">JNI</a> <a href="/tags/Java数据分析房价/" style="font-size: 10px;">Java数据分析房价</a> <a href="/tags/Jenkins/" style="font-size: 10px;">Jenkins</a> <a href="/tags/JitPack/" style="font-size: 10px;">JitPack</a> <a href="/tags/JsonDeserializer/" style="font-size: 10px;">JsonDeserializer</a> <a href="/tags/JsonSerializer/" style="font-size: 10px;">JsonSerializer</a> <a href="/tags/Mock/" style="font-size: 10px;">Mock</a> <a href="/tags/NODE-ENV/" style="font-size: 10px;">NODE_ENV</a> <a href="/tags/Native/" style="font-size: 10px;">Native</a> <a href="/tags/NetworkInterface/" style="font-size: 10px;">NetworkInterface</a> <a href="/tags/NullPointException/" style="font-size: 10px;">NullPointException</a> <a href="/tags/OSS/" style="font-size: 10px;">OSS</a> <a href="/tags/Qualifier/" style="font-size: 10px;">Qualifier</a> <a href="/tags/RestTemplate/" style="font-size: 10px;">RestTemplate</a> <a href="/tags/RestoreInstance/" style="font-size: 10px;">RestoreInstance</a> <a href="/tags/SDK/" style="font-size: 10px;">SDK</a> <a href="/tags/SDK更新给开发者/" style="font-size: 10px;">SDK更新给开发者</a> <a href="/tags/SimpleDateFormat/" style="font-size: 10px;">SimpleDateFormat</a> <a href="/tags/Spring/" style="font-size: 15px;">Spring</a> <a href="/tags/SpringBatch/" style="font-size: 10px;">SpringBatch</a> <a href="/tags/StepScope/" style="font-size: 10px;">StepScope</a> <a href="/tags/Time-Zone/" style="font-size: 10px;">Time Zone</a> <a href="/tags/TingPNG/" style="font-size: 10px;">TingPNG</a> <a href="/tags/TransformException/" style="font-size: 10px;">TransformException</a> <a href="/tags/WEBGL-debug-renderer-info/" style="font-size: 10px;">WEBGL_debug_renderer_info</a> <a href="/tags/WIFI/" style="font-size: 10px;">WIFI</a> <a href="/tags/WebGL/" style="font-size: 10px;">WebGL</a> <a href="/tags/WebView/" style="font-size: 15px;">WebView</a> <a href="/tags/WebView水印/" style="font-size: 10px;">WebView水印</a> <a href="/tags/WifiInfo/" style="font-size: 10px;">WifiInfo</a> <a href="/tags/YYYY/" style="font-size: 10px;">YYYY</a> <a href="/tags/object-Object/" style="font-size: 15px;">[object Object]</a> <a href="/tags/annotationProcessor/" style="font-size: 10px;">annotationProcessor</a> <a href="/tags/antd-init/" style="font-size: 10px;">antd-init</a> <a href="/tags/applicaton/" style="font-size: 10px;">applicaton</a> <a href="/tags/brew/" style="font-size: 10px;">brew</a> <a href="/tags/chrome/" style="font-size: 10px;">chrome</a> <a href="/tags/crash/" style="font-size: 10px;">crash</a> <a href="/tags/create-umi/" style="font-size: 10px;">create-umi</a> <a href="/tags/cross-env/" style="font-size: 10px;">cross-env</a> <a href="/tags/dependencies/" style="font-size: 10px;">dependencies</a> <a href="/tags/dummy0/" style="font-size: 10px;">dummy0</a> <a href="/tags/duplicate-entry/" style="font-size: 10px;">duplicate entry</a> <a href="/tags/experimental-webgl/" style="font-size: 10px;">experimental-webgl</a> <a href="/tags/feign-form/" style="font-size: 10px;">feign-form</a> <a href="/tags/fit/" style="font-size: 10px;">fit</a> <a href="/tags/flavor/" style="font-size: 10px;">flavor</a> <a href="/tags/github-api/" style="font-size: 10px;">github api</a> <a href="/tags/iOS/" style="font-size: 15px;">iOS</a> <a href="/tags/image-jpeg/" style="font-size: 10px;">image/jpeg</a> <a href="/tags/install/" style="font-size: 10px;">install</a> <a href="/tags/ipv4/" style="font-size: 10px;">ipv4</a> <a href="/tags/ipv6/" style="font-size: 10px;">ipv6</a> <a href="/tags/jpeg/" style="font-size: 10px;">jpeg</a> <a href="/tags/libjpeg/" style="font-size: 10px;">libjpeg</a> <a href="/tags/libjpeg-turbo/" style="font-size: 10px;">libjpeg-turbo</a> <a href="/tags/mac/" style="font-size: 10px;">mac</a> <a href="/tags/manifest/" style="font-size: 10px;">manifest</a> <a href="/tags/mockjs/" style="font-size: 10px;">mockjs</a> <a href="/tags/module/" style="font-size: 10px;">module</a> <a href="/tags/ndk-camera/" style="font-size: 10px;">ndk camera</a> <a href="/tags/onActivityForResult/" style="font-size: 10px;">onActivityForResult</a> <a href="/tags/onPageFinished/" style="font-size: 10px;">onPageFinished</a> <a href="/tags/registerTypeAdapter/" style="font-size: 10px;">registerTypeAdapter</a> <a href="/tags/scope/" style="font-size: 10px;">scope</a> <a href="/tags/spawn/" style="font-size: 10px;">spawn</a> <a href="/tags/storage/" style="font-size: 10px;">storage</a> <a href="/tags/transformClassesWithJarMerging/" style="font-size: 10px;">transformClassesWithJarMerging</a> <a href="/tags/v36/" style="font-size: 10px;">v36</a> <a href="/tags/versionCode/" style="font-size: 10px;">versionCode</a> <a href="/tags/vue/" style="font-size: 10px;">vue</a> <a href="/tags/watermark/" style="font-size: 10px;">watermark</a> <a href="/tags/wlan0/" style="font-size: 10px;">wlan0</a> <a href="/tags/yyyy/" style="font-size: 10px;">yyyy</a> <a href="/tags/下载图片/" style="font-size: 10px;">下载图片</a> <a href="/tags/中位数/" style="font-size: 10px;">中位数</a> <a href="/tags/中程数/" style="font-size: 10px;">中程数</a> <a href="/tags/主动push/" style="font-size: 10px;">主动push</a> <a href="/tags/人脸支付/" style="font-size: 15px;">人脸支付</a> <a href="/tags/人脸比对效率/" style="font-size: 10px;">人脸比对效率</a> <a href="/tags/众数/" style="font-size: 10px;">众数</a> <a href="/tags/兼容问题/" style="font-size: 10px;">兼容问题</a> <a href="/tags/同步支付/" style="font-size: 10px;">同步支付</a> <a href="/tags/命名空间/" style="font-size: 10px;">命名空间</a> <a href="/tags/图片链接/" style="font-size: 10px;">图片链接</a> <a href="/tags/均值/" style="font-size: 10px;">均值</a> <a href="/tags/多形参/" style="font-size: 10px;">多形参</a> <a href="/tags/头文件/" style="font-size: 10px;">头文件</a> <a href="/tags/如何主动PUSH/" style="font-size: 10px;">如何主动PUSH</a> <a href="/tags/异步支付/" style="font-size: 10px;">异步支付</a> <a href="/tags/引流/" style="font-size: 10px;">引流</a> <a href="/tags/支付/" style="font-size: 10px;">支付</a> <a href="/tags/数据决策/" style="font-size: 10px;">数据决策</a> <a href="/tags/数据分析/" style="font-size: 10px;">数据分析</a> <a href="/tags/春运交通情况/" style="font-size: 10px;">春运交通情况</a> <a href="/tags/智能硬件/" style="font-size: 10px;">智能硬件</a> <a href="/tags/权限/" style="font-size: 10px;">权限</a> <a href="/tags/极差/" style="font-size: 10px;">极差</a> <a href="/tags/构造函数/" style="font-size: 10px;">构造函数</a> <a href="/tags/模板/" style="font-size: 10px;">模板</a> <a href="/tags/水印/" style="font-size: 10px;">水印</a> <a href="/tags/浏览器显示图片/" style="font-size: 10px;">浏览器显示图片</a> <a href="/tags/用户体验/" style="font-size: 10px;">用户体验</a> <a href="/tags/网页水印/" style="font-size: 10px;">网页水印</a> <a href="/tags/脸部特征计算/" style="font-size: 10px;">脸部特征计算</a> <a href="/tags/蓝牙/" style="font-size: 10px;">蓝牙</a> <a href="/tags/蜻蜓/" style="font-size: 10px;">蜻蜓</a> <a href="/tags/重载默认参数函数/" style="font-size: 10px;">重载默认参数函数</a> <a href="/tags/阿里云显示图片/" style="font-size: 10px;">阿里云显示图片</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/07/">July 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/04/">April 2020</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2020/01/">January 2020</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/11/">November 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/09/">September 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/05/">May 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/04/">April 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/03/">March 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/02/">February 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/01/">January 2019</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/12/">December 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">November 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/09/">September 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/02/">February 2018</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/">January 2018</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">December 2017</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/">June 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/">May 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">April 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">March 2017</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/05/">May 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">March 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/02/">February 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/01/">January 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">December 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">November 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/10/">October 2015</a><span class="archive-list-count">3</span></li></ul>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recents</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2020/07/17/browser-view-or-download-image-by-header/">浏览器打开图片链接时直接显示或下载到底怎么回事</a>
          </li>
        
          <li>
            <a href="/2020/04/19/watermark-by-android/">Android中添加背景水印，含WebView</a>
          </li>
        
          <li>
            <a href="/2020/04/08/use_mockjs_vue/">VUE中使用Mock模拟数据请求</a>
          </li>
        
          <li>
            <a href="/2020/04/04/annotation-proccor-by-gradle4-7/">annotationProcessor 引用后编译时不生效问题</a>
          </li>
        
          <li>
            <a href="/2020/01/08/enum-serializer-by-Gson/">Gson序列化、反序列化枚举</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      &copy; 2020 Tu<br>
      Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>
    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
    <a href="/about" class="mobile-nav-link">About</a>
  
</nav>
    

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>


  <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  <script src="/fancybox/jquery.fancybox.pack.js"></script>


<script src="/js/script.js"></script>

  </div>
</body>
</html>